<template>
  <div>
    <div class="nav">
      <router-link to="/">首页</router-link>

      <router-link to="/house">找房</router-link>

      <router-link to="/news">资讯</router-link>

      <router-link to="/mine">我的</router-link>

    </div>
    <div>
      <router-view></router-view>
    </div>
  </div>
</template>

<script>

</script>

<style>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.nav {
  width: 100%;
  height: 50px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
</style>
